package com.ke.searchhouse.repository;

import com.ke.searchhouse.entity.HouseDetail;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;
/**
 * @author  keke
 * @create  2018/10/14 0014 下午 9:31
 * @desc
 **/
public interface HouseDetailRepository extends JpaRepository<HouseDetail, Long> {

    HouseDetail findByHouseId(Long id);

    List<HouseDetail> findAllByHouseIdIn(List<Long> houseIds);
}
